package com.v9.common.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.v9.common.model.GenderTypeEnum;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Set;

/**
 * @author
 */
@Data
public class UserDto implements Serializable {
    private String pin;
    private String token;
    private String username;
    private String realName;
    private Long deptId;
    private String deptIds;
    private String deptName;
    private Long positionId;
    private String positionName;
    private String nickName;
    private String email;
    private String phone;
    private GenderTypeEnum genderType;
    @TableField(common = "用户头像")
    private String icon;
    private Set<String> roles;
    private Set<String> permissions;
    private Long loginTime;
    private Long expireTime;
    private Boolean isAdmin;

    /**
     * 工作流组
     */
    private List<String> flowGroup;
}
